<template>
    <Person a="@hh" b="hehe" :list="personList"/> 
    <Person/> <!--vue2 写法-->
</template>

<script lang="ts" setup name="App">
import Person from './components/Person.vue'
import {type Persons} from '@/types'
import {ref, reactive} from 'vue'

let personList = ref<Persons>([
    {name: 'zzq', age: 28},
    {name: 'zm', age: 27},
    {name: 'z', age: 5},
])

</script>

<style>
</style>